

#ifndef DDI_SPFIRMWAREMANAGE_H_
#define DDI_SPFIRMWAREMANAGE_H_

#include "ddi_common.h"

extern s32 ddi_spfirmwaremanage_getspcertinfo(u8 *certname,u32 certnamelen,u8 *certinfo,u32 *certinfolen);
extern s32 ddi_spfirmwaremanage_update(u8 *updatedata,u32 updatedatalen,u8 *promptinfo,u32 *promptinfolen);
extern s32 ddi_spfirmwaremanage_intobootmode(void);
extern s32 ddi_spfirmwaremanage_exitbootmode(void);
extern s32 ddi_spfirmwaremanage_intocdcdatatospimode(u8 mode,u8 *cdcdata,u32 *cdcdatalen);
extern s32 ddi_spfirmwaremanage_spireadcdcdata(void);

typedef s32 (*core_ddi_spfirmwaremanage_getspcertinfo)(u8 *certname,u32 certnamelen,u8 *certinfo,u32 *certinfolen);
typedef s32 (*core_ddi_spfirmwaremanage_update)(u8 *updatedata,u32 updatedatalen,u8 *promptinfo,u32 *promptinfolen);
typedef s32 (*core_ddi_spfirmwaremanage_intobootmode)(void);
typedef s32 (*core_ddi_spfirmwaremanage_exitbootmode)(void);
typedef s32 (*core_ddi_spfirmwaremanage_intocdcdatatospimode)(u8 mode,u8 *cdcdata,u32 *cdcdatalen);
typedef s32 (*core_ddi_spfirmwaremanage_spireadcdcdata)(void);

#endif


